package com.timguan.render.api.entity.cms;

import net.pocrd.annotation.Description;

import java.io.Serializable;
import java.util.List;

/**
 * Created by gkq on 15/11/6.
 */
@Description("页面数据")
public class PData implements Serializable {
    @Description("背景色,宽度默认(整楼层)")
    public String backgroundColor;
    @Description("背景填充图")
    public String backgroundUrl;
    @Description("页面标题")
    public String title;
    @Description("页面描述")
    public String description;
    @Description("分享图标")
    public String shareIcon;
    @Description("模块数据（楼层数据）")
    public List<MData> mDatas;
    @Description("是否需要重定向到线上")
    public boolean needRedirect;
    @Description("转跳地址")
    public String redirectUrl;
    @Description("页面Id")
    public int pageId;

    @Override
    public String toString() {
        return "PData{" +
                "backgroundColor='" + backgroundColor + '\'' +
                ", backgroundUrl='" + backgroundUrl + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", shareIcon='" + shareIcon + '\'' +
                ", mDatas=" + mDatas +
                ", needRedirect=" + needRedirect +
                ", redirectUrl='" + redirectUrl + '\'' +
                ", pageId='" + pageId + '\'' +
                '}';
    }
}
